package unm

class FileTool {
    static final String BASE_DIR = "D:\\develop\\java\\source\\unm\\repos\\"

    static File file(String referName) {
        new File(BASE_DIR + referName)
    }

    static File getHtml(String referName) {
        file("html\\" + referName)
    }

    static File getContent(String referName) {
        file("content\\" + referName)
    }

    static File getTemplate(String referName) {
        file("template\\" + referName)
    }

    static File getTemplateContent(String referName) {
        file("template\\content\\" + referName)
    }

    static File getTemplateNavi(String referName) {
        file("template\\navi\\" + referName)
    }

    static File getHeader(String referName) {
        file("header\\" + referName)
    }

    static File getLeft(String referName) {
        file("left\\" + referName)
    }

    static File getExcel(String referName) {
        file("excel\\" + referName)
    }
}
